package edu.zqu.collegeField.project.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.zqu.collegeField.project.dto.FieldDto;
import edu.zqu.collegeField.project.po.Field;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 场地 Mapper 接口
 * </p>
 *
 * @author 廖森
 * @since 2020-06-28
 */
@Repository
public interface FieldMapper extends BaseMapper<Field> {
    List<FieldDto> get(Map<String, String> map);//获取场地列表

    FieldDto getById(Map<String, String> map);//获取场地信息

    String getNameById(Map<String, String> map);//获取场地名称
}
